<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ICSS ETC办公系统 - 登录</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<link rel="stylesheet" type="text/css" href="../css/login.css">


</head>

<script type="text/javascript">
	function CheckForm(){
			var name = document.getElementById('name').value;
			if(name == ''){
				alert('请输入用户名');
				document.getElementById('name').focus();
				return false;
			}
			var pass = document.getElementById('pass').value;
			if(pass == ''){
				alert('请输入密码');
				document.getElementById('pass').focus();
				return false;
			}
			return true;
		}
</script>
<body>
<div align="center">
<form name="form1" method="post" action="../LoginServlet?action=login"
	autocomplete="off" onsubmit="return CheckForm();">
<div class="login_div" align="center"><b>用户名</b> <input
	type="text" class="text" id="name" name="userName" maxlength="20"
	onmouseover="this.focus()" onfocus="this.select()" />&nbsp;&nbsp; <b>密码</b>
<input type="password" id="pass" class="text" name="userPassword"
	onmouseover="this.focus()" onfocus="this.select()" />&nbsp;&nbsp; <input
	type="submit" class="submit" value="登 录" /></div>
<br>
<br>

</form>
</body>
</html>
